package com.jbm.jsm.iface.enums;

/**

 * 权限
 */
public enum Authority {

    regist_audit("注册审核",1),
    create_code("生成邀请码",2), //
    receive_task("接单",3), //
    create_task("发单",4), //
    recharge("充值",5), //
    arbitrate("仲裁",6), //
    apply_audit("申请审核",7), //
    sub_user("管理下级成员",8),
    receive_task_reg("接注册单",10),
    receive_task_proto("接推广单",11),
    receive_task_other("接其他单",12),
    create_task_reg("发注册单",13),
    create_task_proto("发推广单",14),
    create_task_other("发其他单",15) ;


    private String name ;
    private int index ;

    private Authority( String name , int index ){
        this.name = name ;
        this.index = index ;
    }

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getIndex() {
        return index;
    }
    public void setIndex(int index) {
        this.index = index;
    }
}